<script setup>
const props = defineProps({
  calcIndicator: Function,
  indicators: Object,
  selectDisabled: Boolean
})
const indicator = defineModel({ type: String })
</script>

<template>
  <el-select
    v-model="indicator"
    class="m-2"
    :disabled='selectDisabled'
    @change="calcIndicator"
    placeholder="Select"
    size="default"
    style="margin-left:15px;width: 120px"
  >
    <el-option
      v-for="(value,key) in indicators"
      :key="key"
      :label="key"
      :value="key"
    />
  </el-select>
</template>

<style scoped lang="scss">

</style>
